// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import 'lib-flexible'
import './assets/css/style.css'
import './assets/css/font-awesome.css'

//导入axios
import axios from 'axios'
Vue.prototype.axios=axios

//过滤器
 Vue.filter('exchange',value=>{
   switch(value){
     case 'share':
          value="分享";
          break;
     case 'ask':
          value="问答";
          break;     
   }
   return value
 })


/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App }
})
